<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class University extends Model
{
    //大学信息模型
    protected $table='university';
    public $timestamps=false;
    protected $guarded = ['id'];//黑名单字段

    public function campus()
    {
        return $this->hasMany(Campus::class);
    }

}
